# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=py3-pyqt6-webengine
pkgver=6.6.0
pkgrel=0
pkgdesc="Python bindings for the Qt6 WebEngine framework"
url="https://pypi.org/project/PyQt6-WebEngine/"
# others blocked by qt6-qtwebengine
arch="all !riscv64 !s390x !ppc64le !armv7 !armhf"
license="GPL-3.0-only"
depends="py3-qt6"
makedepends="
	py3-pyqt-builder
	py3-sip
	python3-dev
	qt6-qtwebengine-dev
	"
source="https://files.pythonhosted.org/packages/source/P/PyQt6_WebEngine/PyQt6_WebEngine-$pkgver.tar.gz"
builddir="$srcdir/PyQt6_WebEngine-$pkgver"

build() {
	sip-build \
		--no-make \
		--qmake=/usr/bin/qmake6
	make -C build
}

package() {
	make -C build INSTALL_ROOT="$pkgdir" install
}

sha512sums="
30927b7728d68cbeff6346234e131f96dfcd4b2af503d27d2f0a1eee584b5a928ac4fe1f66019c90aaf1ccd66fffe2edaf55de86d9aa0c83518c45669613bc0d  PyQt6_WebEngine-6.6.0.tar.gz
"
